<?php

class Order
{
    private $order_id;
    private $order_sn;
    private $user_id;
    private $add_time;

    /**
     * Order constructor.
     * @param $add_time
     * @param $order_id
     * @param $order_sn
     * @param $user_id
     */
    public function __construct($add_time, $order_id, $order_sn, $user_id)
    {
        $this->add_time = $add_time;
        $this->order_id = $order_id;
        $this->order_sn = $order_sn;
        $this->user_id = $user_id;
    }

    /**
     * @return mixed
     */
    public function getAddTime()
    {
        return $this->add_time;
    }

    /**
     * @param mixed $add_time
     */
    public function setAddTime($add_time)
    {
        $this->add_time = $add_time;
    }

    /**
     * @return mixed
     */
    public function getOrderId()
    {
        return $this->order_id;
    }

    /**
     * @param mixed $order_id
     */
    public function setOrderId($order_id)
    {
        $this->order_id = $order_id;
    }

    /**
     * @return mixed
     */
    public function getOrderSn()
    {
        return $this->order_sn;
    }

    /**
     * @param mixed $order_sn
     */
    public function setOrderSn($order_sn)
    {
        $this->order_sn = $order_sn;
    }

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->user_id;
    }

    /**
     * @param mixed $user_id
     */
    public function setUserId($user_id)
    {
        $this->user_id = $user_id;
    }
}